
class MyTableList  extends BaseTableList{
    constructor(props) {
        super(props);
        this.fetchUrl="/mytableList";
        this.fixedKey="id";
        this.actioncolumns = true;
        this.actionWidth=200;
        this.placeholder="请输入名称";
        this.state.pagination.filter= {  tag_name_list: ''};
        this.columns=this.getColumns();
    }

    res_data = {
        g1:{
            label: 'G1',
            width: 100
        },
        g2:{
            label: 'G2',
            width: 100
        },
        g3:{
            label: 'G3',
            width: 100
        },
        g4:{
            label: 'G4',
            width: 100
        }
    }


    filterContent(){
        const { pagination,  } = this.state;
        if(JSON.stringify(pagination.filter)=='{}') return <div></div>;
        const tagOptions = ['头像','配置'];
        return <div>
            <div style={{padding: '5px 0px 5px 0px'}}>
                <span style={{fontWeight: 'bolder'}}>{"标签："}</span>
                <CheckboxGroup options={tagOptions} value={pagination.filter.tag_name_list.split(',')} onChange={(v) => this.filterType('tag_name_list',v)} />
            </div>
        </div>
    }
}